package edu.mama.college.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 学生学习记录表
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
public class UserStudyRecord {
    private int id;

    private int userId;

    private int courseId;

    private int lessonId;

    private Date date;

    private int mins;

    public UserStudyRecord(int userId, int courseId,int lessonId){
        this.userId = userId;
        this.courseId = courseId;
        this.lessonId = lessonId;
    }
}
